/*
 * @Author: chenhuanhuan 2925102113@qq.com
 * @Date: 2025-04-14 16:46:48
 * @LastEditors: chenhuanhuan 2925102113@qq.com
 * @LastEditTime: 2025-04-14 16:55:13
 * @FilePath: \react-demo\src\components\MyNavLink\index.jsx
 */
import React, { Component } from 'react'
import { NavLink } from 'react-router-dom'

export default class MyNavLink extends Component {
  render() {
    const {to} = this.props
    return (
      <NavLink {...this.props}></NavLink>
      // <NavLink {...this.props}>{this.props.children}</NavLink>
    )
  }
}
